from django.conf.urls import url
from django.urls import path

from . import views

urlpatterns = [
    # path('hi', views.HiView.as_view())
    path('api/v1.0/orders/', views.OrdersView.as_view()),  # 创建订单 和 展示订单
    path('api/v1.0/orders/<int:order_id>/status/', views.OrdersStatusView.as_view()),  # 订单状态
    path('api/v1.0/orders/<int:order_id>/comment/', views.OrdersCommentView.as_view())  # 评价订单
]
